package com.jgzx.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("用户信息")
@Data
public class UserVO {
    @ApiModelProperty(value = "用户id", required = true)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long UserId;

    @ApiModelProperty(value = "用户名称", required = true)
    private String UserName;

    @ApiModelProperty(value = "用户住址", required = true)
    private String Address;

    @ApiModelProperty(value = "用户年龄", required = true)
    private String age;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;

    @ApiModelProperty(value = "创建者", required = true)
    private String createUser;
}
